<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="layout.xhtml">
        <ui:define name="body">
            <h:form id="iptuForm" enctype="multipart/form-data">
                <p:growl id="messages"  autoUpdate="true"  />

                <br/>
                <h2 class="title">Configurações do IPTU</h2>
                <p:panel id="realtyPanel"
                         styleClass="container_24 clearfix ">

                    <h4 class="title">Dados gerais</h4>

                    <p:outputLabel value="Vencimento: " styleClass="grid_3" for="vencimento" />
                    <p:calendar id="vencimento" value="#{managerConfigIptu.configIptu.dataVencimento}" showOn="both" 
                                locale="pt" yearRange="1900:2050" navigator="true" pattern="dd/MM/yyyy" styleClass="grid_5"/>

                    <p:outputLabel value="Valor mínimo por parcela" styleClass="grid_7" for="valorMinimo" />
                    <p:inputText id="valorMinimo" styleClass="grid_5" value="#{managerConfigIptu.configIptu.valorMinimoParcela}" 
                                 onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ',', aSign: 'R$ '} );">
                        <f:convertNumber locale="pt,BR" type="currency" maxFractionDigits="2"/>
                    </p:inputText>
                    <div class="clear"/>

                    <p:outputLabel value="Desconto" styleClass="grid_3" for="desconto" />
                    <p:inputText id="desconto" styleClass="grid_5" value="#{managerConfigIptu.configIptu.desconto}" 
                                 onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ',', aSign: '%', pSign:'s'} );">
                        <f:convertNumber locale="pt-BR" type="percent"/>
                    </p:inputText>
                    <div class="clear"/><br/>

                    <h4 class="title">Cálculo</h4>
                    <p:tabView>
                        <p:tab title="Valores Municipais de Parnaíba">
                            <p:panel id="valorufmp"
                                     styleClass="container_24 clearfix">
                                <h4 class="title">Valor do UFMP</h4>
                                <p:outputLabel value="UFMP" styleClass="grid_3" for="ufmp"/>
                                <p:inputText id="ufmp" styleClass="grid_4" value="#{managerConfigIptu.configIptu.ufmp}"
                                             required="true"  onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>
                                <h4 class="title">Valor de Referencia</h4>
                                <p:outputLabel value="Valor de Referencia" styleClass="grid_3" for="valorReferencia"/>
                                <p:inputText id="valorReferencia" styleClass="grid_4" value="#{managerConfigIptu.configIptu.valorReferencia}"
                                             required="true"  onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                            </p:panel>
                        </p:tab>
                        <p:tab title="Valor do m²">
                            <p:panel id="valorm2"
                                     styleClass="container_24 clearfix">
                                <h4 class="title">Valor do m² do Terreno</h4>
                                <p:outputLabel value="Edificado" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.edificado}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Não Edificado" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.naoEdificado}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <div class="clear"/>
                                <h4 class="title">Valor do m² da Edificação</h4>
                                <p:outputLabel value="Valor" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.vm2e}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                            </p:panel>
                        </p:tab>
                        <p:tab title="Fatores de Multiplicação">
                            <p:panel id="fatorMultiplicacao"
                                     styleClass="container_24 clearfix">
                                <h4 class="title">Topografia</h4>
                                <p:outputLabel value="Plano" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.topografiaPlano}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Aclive" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.topografiaAclive}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Declive" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.topografiaDeclive}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <h4 class="title">Situação</h4>
                                <p:outputLabel value="Esquina" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.situacaoEsquina}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Uma Frente" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.situacaoUmaFrente}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Encravado/Vila" styleClass="grid_3" style="width: 12%; margin-left: -5px;" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.situacaoEncravado}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <h4 class="title">Pedologia</h4>
                                <p:outputLabel value="Alagado" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.pedologiaAlagado}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Inundável" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.pedologiaInundavel}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Rochoso" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.pedologiaRochoso}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <p:outputLabel value="Normal" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.pedologiaNormal}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Arenoso" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.pedologiaArenoso}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <div class="clear"/>
                                <h4 class="title">Conservação</h4>
                                <p:outputLabel value="Bom" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.bom}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Regular" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.regular}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Mau" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.mau}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <h4 class="title">Subtipos</h4>
                                <p:outputLabel value="Isolada/alinhada" styleClass="grid_6" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.isoladaAlinhada}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Isolada/recuada" styleClass="grid_6" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.isoladaRecuada}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>
                                <p:outputLabel value="Geminada/alinhada" styleClass="grid_6" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.geminadaAlinhada}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Geminada/recuada" styleClass="grid_6" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.geminadaRecuada}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>
                                <p:outputLabel value="Superposta/alinhada" styleClass="grid_6" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.superpostaAlinhada}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Superposta/recuada" styleClass="grid_6" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.superpostaRecuada}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>
                                <p:outputLabel value="Conjugada/alinhada" styleClass="grid_6" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.conjugadaAlinhada}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Conjugada/recuada" styleClass="grid_6" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.conjugadaRecuada}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>


                            </p:panel>
                        </p:tab>
                        <p:tab title="Fatores de Localização">

                            <p:panel id="fatorLocalizacao"
                                     styleClass="container_24 clearfix">
                                <h4 class="title">Fator de Multiplicação</h4>
                                <p:outputLabel value="Baixo" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.baixo}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Intermediário" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.intermediario}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <p:outputLabel value="Alto" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.alto}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Excepcional" styleClass="grid_3" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.excepcional}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                            </p:panel>

                        </p:tab>
                        <p:tab title="Caracterização do Imóvel">

                            <p:panel id="revExterno"
                                     styleClass="container_24 clearfix">
                                <h4 class="title">Revestimento Externo</h4>
                                <p:outputLabel value="Óleo" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.revestimentoOleo}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Caiação" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.revestimentoCaiacao}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <p:outputLabel value="Madeira" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.revestimentoMadeira}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Outros" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.revestimentoOutros}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <div class="clear"/>

                                <h4 class="title">Pisos</h4>
                                <p:outputLabel value="Terra Batida" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.pisosTerraBatida}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Cimento" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.pisosCimento}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <p:outputLabel value="Cerâmica/mosaico" styleClass="grid_4"/>
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.pisosCeramicoMosaico}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Outros" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.pisosOutros}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <div class="clear"/>

                                <h4 class="title">Forro</h4>
                                <p:outputLabel value="Inexistente" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.forroInexistente}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Madeira" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.forroMadeira}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <p:outputLabel value="Estuque" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.forroEstuque}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Laje" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.forroLaje}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <div class="clear"/>


                                <h4 class="title">Cobertura</h4>
                                <p:outputLabel value="Palha/Zinco" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.coberturaPalhaZinco}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Fibra/Cimento" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.coberturaFibraCimento}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <p:outputLabel value="Telha" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.coberturaTelha}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Laje" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.coberturaLaje}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <div class="clear"/>

                                <h4 class="title">Instalações Sanitária</h4>
                                <p:outputLabel value="Inexistente" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.instalacoesSanitariasInexistente}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Externa" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.instalacoesSanitariasExterna}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <p:outputLabel value="Interna" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.instalacoesSanitariasInterna}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Mais de uma" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.instalacoesSanitariasMaisdeUma}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <div class="clear"/>

                                <h4 class="title">Instalações Elétrica</h4>
                                <p:outputLabel value="Inexistente" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.instalacoesEletricasInexistente}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Aparente" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.instalacoesEletricasAparente}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <p:outputLabel value="Embutida" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.instalacoesEletricasEmbutida}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <div class="clear"/>

                                <h4 class="title">Estrutura</h4>
                                <p:outputLabel value="Concreto" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.estruturaConcreto}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Alvenaria" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.estruturaAlvenaria}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>
                                <div class="clear"/>

                                <p:outputLabel value="Madeira" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4" value="#{managerConfigIptu.configIptu.estruturaMadeira}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                                <p:outputLabel value="Metálica" styleClass="grid_4" />
                                <p:inputText styleClass="grid_4"  value="#{managerConfigIptu.configIptu.estruturaMetalica}" onkeypress="jQuery(this).autoNumeric({aSep: '.', aDec: ','} );">
                                    <f:convertNumber pattern="#,###,##0.00" locale="pt,BR"/>
                                </p:inputText>

                            </p:panel>

                        </p:tab>
                    </p:tabView>
                    <div class="buttonAction">
                        <p:commandButton value="Salvar" icon="ui-icon-disk"
                                         update="@form" 
                                         actionListener="#{managerConfigIptu.salvar()}"
                                         styleClass="ui-priority-primary" />

                        <p:button href="index.xhtml" value="Cancelar"  icon="ui-icon-trash" />
                    </div >

                </p:panel>
            </h:form>
        </ui:define>
    </ui:composition>
</html>
